package com.resys.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class MeetingInfoDto {
    private Integer roomId;

    /**
     *
     */
    private String name;

    /**
     * 0=教室型, 1=圆桌型
     */
    private Integer type;

    /**
     *
     */
    private Integer capacity;

    /**
     *
     */
    private BigDecimal pricePerHour;

    /**
     * 0=空闲, 1=锁定, 2=预定, 3=使用, 4=维护
     */
    private Integer status;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date statusUpdatedAt;
}
